package com.itgm.jiayun_web_project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itgm.jiayun_web_project.pojo.Admin;
import com.itgm.jiayun_web_project.pojo.LoginInfo;
import com.itgm.jiayun_web_project.pojo.PageResult;
import com.itgm.jiayun_web_project.pojo.Result;

public interface AdminService extends IService<Admin> {
    LoginInfo login(Admin admin);


    Result<PageResult<Admin>> page(Integer page, Integer pageSize, String name);
}
